﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using BusinessObjects.BO_GetObjects;

public partial class Controls_ucStatistic : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            loadTotalMember();
        }
    }

    protected void loadTotalMember()
    {
        try
        {
            DataTable objDT = BO_Members.SelectAll(1);
            total_member.InnerText = objDT.Rows.Count.ToString();
        }
        catch (Exception)
        {

        }
    }
}